package com.jeremyfeinstein.gson.bean;

/**
 * @author : lishan
 * @e-mail : cnlishan@163.com
 * @date : 2021/2/23 10:09 AM
 * @desc :
 */
public class QueryDeviceDetailBean {

    /**
     * opContext : 查询条件【音视频互动设备编码:11111111111112】
     * resultCode : 200
     * resultHint : 查询成功
     * resultValue : {"authorizationStatus":0,"consumeFlowTotal":0,"createTime":"2021年02月23日 09:31:14","devCode":"11111111111112","devName":"测试名称10001","devStatus":0,"id":"322291f6dce149f1b55ce5e73742a973","requestIpHttp":"172.16.20.206","runtimeTotal":0}
     * successful : true
     */

    private String opContext;
    private String resultCode;
    private String resultHint;
    private ResultValueBean resultValue;
    private boolean successful;

    public String getOpContext() {
        return opContext;
    }

    public void setOpContext(String opContext) {
        this.opContext = opContext;
    }

    public String getResultCode() {
        return resultCode;
    }

    public void setResultCode(String resultCode) {
        this.resultCode = resultCode;
    }

    public String getResultHint() {
        return resultHint;
    }

    public void setResultHint(String resultHint) {
        this.resultHint = resultHint;
    }

    public ResultValueBean getResultValue() {
        return resultValue;
    }

    public void setResultValue(ResultValueBean resultValue) {
        this.resultValue = resultValue;
    }

    public boolean isSuccessful() {
        return successful;
    }

    public void setSuccessful(boolean successful) {
        this.successful = successful;
    }

    public static class ResultValueBean {
        /**
         * authorizationStatus : 0
         * consumeFlowTotal : 0.0
         * createTime : 2021年02月23日 09:31:14
         * devCode : 11111111111112
         * devName : 测试名称10001
         * devStatus : 0
         * id : 322291f6dce149f1b55ce5e73742a973
         * requestIpHttp : 172.16.20.206
         * runtimeTotal : 0.0
         */

        private int authorizationStatus;
        private double consumeFlowTotal;
        private String createTime;
        private String devCode;
        private String devName;
        private int devStatus;
        private String id;
        private String requestIpHttp;
        private double runtimeTotal;

        public int getAuthorizationStatus() {
            return authorizationStatus;
        }

        public void setAuthorizationStatus(int authorizationStatus) {
            this.authorizationStatus = authorizationStatus;
        }

        public double getConsumeFlowTotal() {
            return consumeFlowTotal;
        }

        public void setConsumeFlowTotal(double consumeFlowTotal) {
            this.consumeFlowTotal = consumeFlowTotal;
        }

        public String getCreateTime() {
            return createTime;
        }

        public void setCreateTime(String createTime) {
            this.createTime = createTime;
        }

        public String getDevCode() {
            return devCode;
        }

        public void setDevCode(String devCode) {
            this.devCode = devCode;
        }

        public String getDevName() {
            return devName;
        }

        public void setDevName(String devName) {
            this.devName = devName;
        }

        public int getDevStatus() {
            return devStatus;
        }

        public void setDevStatus(int devStatus) {
            this.devStatus = devStatus;
        }

        public String getId() {
            return id;
        }

        public void setId(String id) {
            this.id = id;
        }

        public String getRequestIpHttp() {
            return requestIpHttp;
        }

        public void setRequestIpHttp(String requestIpHttp) {
            this.requestIpHttp = requestIpHttp;
        }

        public double getRuntimeTotal() {
            return runtimeTotal;
        }

        public void setRuntimeTotal(double runtimeTotal) {
            this.runtimeTotal = runtimeTotal;
        }

        @Override
        public String toString() {
            return "ResultValueBean{" +
                    "authorizationStatus=" + authorizationStatus +
                    ", consumeFlowTotal=" + consumeFlowTotal +
                    ", createTime='" + createTime + '\'' +
                    ", devCode='" + devCode + '\'' +
                    ", devName='" + devName + '\'' +
                    ", devStatus=" + devStatus +
                    ", id='" + id + '\'' +
                    ", requestIpHttp='" + requestIpHttp + '\'' +
                    ", runtimeTotal=" + runtimeTotal +
                    '}';
        }
    }

    @Override
    public String toString() {
        return "QueryDeviceDetailBean{" +
                "opContext='" + opContext + '\'' +
                ", resultCode='" + resultCode + '\'' +
                ", resultHint='" + resultHint + '\'' +
                ", resultValue=" + resultValue +
                ", successful=" + successful +
                '}';
    }
}
